package core.model
{
	import org.aisy.net.data.LocalData;

	public class PSharedObject
	{
		static protected var instance:LocalData;
		
		public function PSharedObject()
		{
		}
		
		public function clear():void
		{
			instance.clear();
			instance = null;
		}
		
		static public function getInstance():LocalData
		{
			if (null === instance) instance = LocalData.getLocal("_0");
			return instance;
		}
		
	}
}